{extend name="base/base_login" /}
{block name="login_main"}
<style type="text/css">
body {
background: #637159
}
</style>

<div class="dsdelivery-login-title">
    <h1>自提服务站</h1>
    <h4>加盟商城物流服务站，搭建社区化电商服务平台，
        携手拉近与身边消费者的距离，共赢未来。</h4>
</div>
<div class="dsdelivery-login-form">
    <form id="delivery_login" method="post" action="">
        <div class="form-item"><label class="phrases">用户名</label>
            <input class="input-txt" type="text" name="dname" id="dname" autofocus="autofocus" autocomplete="off"  />
            <span></span></div>
        <div class="form-item"><label class="phrases">密&nbsp;&nbsp;&nbsp;&nbsp;码</label>
            <input class="input-txt" type="password" name="dpasswd" id="dpasswd" />
            <span></span></div>
        <input type="submit" class="submit" value="登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录">
    </form>
    <a href="{:url('Login/apply')}" class="register">加盟自提服务站</a> 
</div>
<script type="text/javascript">
$(function(){
    $("#delivery_login .input-txt").placeholder();
    $('#delivery_login').validate({
        errorPlacement: function(error, element){
            element.next().append(error);
        },
        rules : {
            dname : {
                required : true
            },
            dpasswd : {
                required : true
            }
        },
        messages : {
            dname : {
                required : '请输入您的用户名'
            },
            dpasswd  : {
                required : '请输入您的密码'
            }
        }
    });
});
</script>

{/block}